package com.xiaomo.gitee.datamanager.dto.tag;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

@Data
@Schema(name = "标签传输模型",title = "标签传输模型")
@AllArgsConstructor
@NoArgsConstructor
public class TagDTO implements Serializable {

    @Schema(
            title = "id",
            description = "标签ID",
            format = "number"
    )
    private Long id;

    @Schema(
            title = "content",
            description = "标签内容",
            format = "string"
    )
    private String content;

    @Schema(
            title = "isCategory",
            description = "是否为数据集标签",
            format = "boolean"
    )
    private Boolean isCategory;

    @Serial
    private static final long serialVersionUID = 1L;
}
